﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FDStudio.Core.Entities
{
    /*
     CreatedOn: 2018-01-30
     CreatedBy: Jackie Lee(天宇遊龍)
     */
    /// <summary>
    /// 修改
    /// </summary>
    public interface IModifiedEntity : IEntity
    {
        /// <summary>
        /// 修改时间
        /// </summary>
        DateTime? ModifiedOn { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        long ModifiedBy { get; set; }
    }

    /// <summary>
    /// 修改的实体
    /// </summary>
    public abstract class ModifiedEntity : CreateEntity, IModifiedEntity
    {
        public DateTime? ModifiedOn { get; set; }

        public long ModifiedBy { get; set; }
    }
}
